package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.utils.property.Property;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Types;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Description orm 测试类
 * @Author cwq
 * @Data 2022/5/10 17:57
 */
@Deprecated
@FieldTypeAnnotation(tableName = "t_l_auto_test_object")
public class LogAutoTestObject {
    @FieldTypeAnnotation(isIndex = true)
    private byte byteType;
    @FieldTypeAnnotation(isIndex = true)
    private short shortType;
    @FieldTypeAnnotation()
    private int intType;
    @FieldTypeAnnotation()
    private long longType;
    @FieldTypeAnnotation()
    private boolean booleanType;
    @FieldTypeAnnotation()
    private String stringType;
    @FieldTypeAnnotation(saveJson = true)
    private List listType;
    @FieldTypeAnnotation(saveJson = true)
    private Map mapType;
    @FieldTypeAnnotation(saveJson = true)
    private BigInteger bigIntegerType;
    @FieldTypeAnnotation()
    private Property propertyType;
    @FieldTypeAnnotation()
    private Date dateType;
    @FieldTypeAnnotation(saveJson = true)
    private BigDecimal bigDecimalType;

    public LogAutoTestObject(byte byteType, short shortType, int intType, long longType, boolean booleanType, String stringType, List listType, Map mapType, BigInteger bigIntegerType, Property propertyType, Date dateType, BigDecimal bigDecimalType) {
        this.byteType = byteType;
        this.shortType = shortType;
        this.intType = intType;
        this.longType = longType;
        this.booleanType = booleanType;
        this.stringType = stringType;
        this.listType = listType;
        this.mapType = mapType;
        this.bigIntegerType = bigIntegerType;
        this.propertyType = propertyType;
        this.dateType = dateType;
        this.bigDecimalType = bigDecimalType;
    }

    public byte getByteType() {
        return byteType;
    }

    public void setByteType(byte byteType) {
        this.byteType = byteType;
    }

    public short getShortType() {
        return shortType;
    }

    public void setShortType(short shortType) {
        this.shortType = shortType;
    }

    public int getIntType() {
        return intType;
    }

    public void setIntType(int intType) {
        this.intType = intType;
    }

    public long getLongType() {
        return longType;
    }

    public void setLongType(long longType) {
        this.longType = longType;
    }

    public boolean isBooleanType() {
        return booleanType;
    }

    public void setBooleanType(boolean booleanType) {
        this.booleanType = booleanType;
    }

    public String getStringType() {
        return stringType;
    }

    public void setStringType(String stringType) {
        this.stringType = stringType;
    }

    public List getListType() {
        return listType;
    }

    public void setListType(List listType) {
        this.listType = listType;
    }

    public Map getMapType() {
        return mapType;
    }

    public void setMapType(Map mapType) {
        this.mapType = mapType;
    }

    public BigInteger getBigIntegerType() {
        return bigIntegerType;
    }

    public void setBigIntegerType(BigInteger bigIntegerType) {
        this.bigIntegerType = bigIntegerType;
    }

    public Property getPropertyType() {
        return propertyType;
    }

    public void setPropertyType(Property propertyType) {
        this.propertyType = propertyType;
    }

    public Date getDateType() {
        return dateType;
    }

    public void setDateType(Date dateType) {
        this.dateType = dateType;
    }

    public BigDecimal getBigDecimalType() {
        return bigDecimalType;
    }

    public void setBigDecimalType(BigDecimal bigDecimalType) {
        this.bigDecimalType = bigDecimalType;
    }
}
